package com.eianiao.service;

import com.eianiao.bean.DishFlavor;
import com.eianiao.dto.DishDto;

import java.util.List;

/**
 * @Author eianiao
 * @Date 2022 06
 * @Version 1.0
 **/

public interface DishFlavorService {

    /**
     * 添加口味
     * @param dishFlavor
     * @return
     */
    int add(DishFlavor dishFlavor);

    /**
     * 根据菜品id查询
     * @param id
     * @return
     */
    List<DishFlavor> findByDishId(Long id);


    /**
     * 删除口味
     * @param dishId
     * @return
     */
    int deleteByDishId (long dishId);


}
